package com.pioneer.web.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pioneer.web.client.domain.CliCar;
import com.pioneer.web.client.service.ICliCarService;
import com.pioneer.web.client.mapper.CliCarMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 26271
* @description 针对表【cli_car】的数据库操作Service实现
* @createDate 2025-05-21 15:03:39
*/
@Service
public class CliCarServiceImpl extends ServiceImpl<CliCarMapper, CliCar>
    implements ICliCarService {

    @Override
    public List<CliCar> carList(CliCar car) {
        return getBaseMapper().carList(car);
    }
    
    @Override
    public CliCar getCarById(Long id) {
        return getBaseMapper().getCarById(id);
    }

    @Override
    public boolean removeAfterOrder(Long carId) {
        return this.removeById(carId);
    }
}




